package com.code.google.wormon.base;

import java.awt.Graphics2D;
import java.awt.Rectangle;
import java.awt.event.KeyEvent;

/**
 * 
 * @author volnei
 * 
 */
public interface GameObject {

	/**
	 * 
	 */
	void doLogic();

	/**
	 * 
	 * @param other
	 */
	void collided(GameObject other);

	/**
	 * 
	 * @param keyEvent
	 */
	void react(KeyEvent keyEvent);

	/**
	 * 
	 * @param graphics2d
	 */
	void draw(Graphics2D g2d);

	/**
	 * 
	 * @return
	 */
	Rectangle getBounds();
	
	boolean isGuy = true;
	
	int getPosX();
	int getPosY();
		
}
